home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1997
/
MacHack 1997.toast
/
Hacks
/
Hacks ’96
/
Audio dcmds
/
Audio CD dcmds.sit
/
Audio CD dcmds.π
/
Think Put Lib source
/
PutUHexLong.c
< prev
next >
Wrap
Text File
|
1994-06-12
|
291b
|
15 lines
void PutText(const char* s, int len );
void __HexToText (unsigned long hex, char* str, short size /* 0=word, 1=long */ );
void PutUHexLong (unsigned long i, int nz)
{
char* str = "00000000";
if ( nz > 0 && nz <= 8 )
{
__HexToText (i, str, 1 );
PutText( &str[8-nz], nz );
}
}